package logical;
import java.io.Serializable;
 

@SuppressWarnings("serial")
public class Transition implements Serializable{
	private State destinationState;
	private String value;
	public static Character EPSILON = 0x03B5 ;
	public boolean visited;
	public Transition()
	{
		visited = false;
		setDestinationState(null);
		setValue(EPSILON.toString());
	}
	public Transition(State state)
	{
		visited = false;
		setDestinationState(state);
		setValue(EPSILON.toString());
	}
	public Transition(State state, String value)
	{
		visited = false;
		setDestinationState(state);
		setValue(value);
	}
	public Transition(String Value)
	{
		visited = false;
		setDestinationState(null);
		setValue(value);
	}
	public State getDestinationState() {
		return destinationState;
	}
	public void setDestinationState(State destinationState) {
		this.destinationState = destinationState;
	}
	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}
}
